<?php $this->import('Header') ?>
<div class="container-fluid">
	<div class="complete-bind">
		<h4 class="tit">欢迎你！<span class="text-success"><?php echo htmlspecialchars($authInfo['Nickname']) . '的狗狗' ?></span>，完善下你的信息，以后你也可以使用该邮箱和密码来登录家有狗狗了。</h4>
		<div class="img">
			<img class="img-thumbnail" src="<?php echo $authInfo['Photo'] ?>">
		</div>
		<form method="post" id="js-bind-form">
			<div class="form-group">
				<label>登录邮箱地址</label>
				<input type="text" class="form-control" name="email" />
				<span class="error"></span>
			</div>
			<div class="form-group">
				<label>昵称</label>
				<input type="text" class="form-control" name="username" value="<?php echo htmlspecialchars($authInfo['Nickname']) . '的狗狗' ?>" />
				<span class="error"></span>
			</div>
			<div class="form-group">
				<label>密码</label>
				<input type="password" class="form-control" name="password" />
				<span class="error"></span>
			</div>
			<div class="form-group">
				<input id="disclaimer" type="checkbox" name="disclaimer" value="1" checked="checked">
				<span>我已经认真阅读并接受<a href="" target="_blank">《家有狗狗免责声明》</a></span>
			</div>
			<div class="form-group">
				<button class="btn btn-danger">提交</button>
			</div>
		</form>
	</div>
</div>
<?php $this->import('Footer') ?>
<script>
	seajs.init({
		fromUrl: '<?php echo $fromUrl ?>'
	});
</script>